package com.jx.mlxg.service;

import com.jx.mlxg.entity.Addresses;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jx.mlxg.utils.ResponseResult;

/**
* @author Administrator
* @description 针对表【addresses】的数据库操作Service
* @createDate 2025-04-27 18:11:42
*/
public interface AddressesService extends IService<Addresses> {

    ResponseResult<?> addAddress(Addresses address);

    ResponseResult<?> updateAddress(Addresses address);

    ResponseResult<?> deleteAddress(Integer addressId);

    ResponseResult<?> getAddressById(Integer addressId);

    ResponseResult<?> getAllAddresses();
}
